package gdut.imis.service;

import com.baomidou.mybatisplus.extension.service.IService;
import gdut.imis.Utils.Result;
import gdut.imis.domain.FileType;
import gdut.imis.domain.FileWritePermissionApplication;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * @Description
 * @Author JiaFu
 * @Date 2023/4/7 22:35
 */
public interface FileWritePermissionApplicationService extends IService<FileWritePermissionApplication> {
    Result applyFileWritePermission(MultipartFile file, FileType fileType) throws IOException;

    Result getFileWritePermissionApplyResult();

    Result getPageFileWritePersission(Long universityId, Integer pageNo, Integer pageSize);

    Result handleFileWritePermissionApply(FileWritePermissionApplication fileWritePermissionApplication);
}
